
package com.yimixian.app.notification;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class PushNotificationReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        // Bundle bundle = intent.getExtras();
        //
        // switch (bundle.getInt(PushConsts.CMD_ACTION)) {
        // case PushConsts.GET_MSG_DATA:
        // // 获取透传（payload）数据
        //
        // byte[] payload = bundle.getByteArray("payload");
        // if (payload != null) {
        // String data = new String(payload);
        // }
        // break;
        //
        // //添加其他case
        // //.........
        // default:
        // break;
        // }
    }
}
